#pragma once
#include "SamsungFreeCodecFilterConnection.h"
#include "VideoPlayerManager.h"
#include "FullScreenTranparentShow.h"
// GraphicsFullScreenVideo dialog

class GraphicsFullScreenVideo : public CDialog
{
	DECLARE_DYNAMIC(GraphicsFullScreenVideo)

public:
	GraphicsFullScreenVideo(CWnd* pParent = NULL);   // standard constructor
	virtual ~GraphicsFullScreenVideo();

	FullScreenTranparentShow  *m_fullScreentransf;
	SamsungFreeCodecFilterConnection m_myCodec;
	VideoPlayerManager		m_video;
	LONGLONG                m_currentPos;
	LONGLONG	            m_length;
	CString		            m_path;
	LONGLONG			    ltime;
	IBasicAudio			    *pAudio;
	HRESULT                 hr;
	LONGLONG			    m_seekPos;
	long				    m_lVolume;
	CWnd                    *m_wnd;
	LONGLONG GetSeekPos();
	virtual BOOL DestroyWindow();
	

// Dialog Data
	enum { IDD = IDD_FULL_VIDEO_SCREEN };

protected:

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	
   
	DECLARE_MESSAGE_MAP()

//public:
	
	
public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnClose();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	void HandleEventGraph();
	// Add sub-title code
	bool IsSubtitleAvailable();
};
